<%--
  Created by IntelliJ IDEA.
  User: WangWeiwei
  Date: 16-10-27
  Time: 上午11:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path;
    request.setAttribute("basePath", basePath);
%>
<!DOCTYPE html>
<html>
<div class="recommended">
    <div class="recommended-grids">
        <div class="recommended-info">
            <h3>分析统计</h3>
        </div>
        <script src="${basePath}resources/js/responsiveslides.min.js"></script>
        <script>
            // You can also use "$(window).load(function() {"
            $(function () {
                // Slideshow 4
                $("#slider3").responsiveSlides({
                    auto: true,
                    pager: false,
                    nav: true,
                    speed: 500,
                    namespace: "callbacks",
                    before: function () {
                        $('.events').append("<li>向前移动</li>");
                    },
                    after: function () {
                        $('.events').append("<li>向后移动</li>");
                    }
                });

            });
        </script>
        <script src="${basePath}/resources/market/js/utils.js"></script>
        <script>
            $(function () {
                $("#top a[operate=statistics-goods]").click(function () {
                    addTabs1($(this));
                })
            })
        </script>
        <div  id="top" class="callbacks_container">
            <ul class="rslides" id="slider3">
                <li>
                    <div class="animated-grids">
                        <div class="col-md-3 resent-grid recommended-grid slider-first">
                            <div class="resent-grid-img recommended-grid-img">
                                <a href="#"
                                   operate="statistics-goods"
                                   data-title="${statisticsList[0]["title"]}"
                                   addtabs="statistics-goods-goods-count-1"
                                   ajax="true"
                                   url="${statisticsList[0]["url"]}">
                                    <img src="${basePath}/resources/images/m1.jpg" alt="" />
                                </a>

                                <div class="time small-time slider-time">
                                    <p>7:34</p>
                                </div>
                                <div class="clck small-clck">
                                    <span class="glyphicon glyphicon-time" aria-hidden="true"></span>
                                </div>
                            </div>
                            <div class="resent-grid-info recommended-grid-info">
                                <h5><a href="#" class="title">${statisticsList[0]["title"]}</a></h5>
                                <div class="slid-bottom-grids">
                                    <div class="slid-bottom-grid">
                                        <p class="author author-info">
                                            <a href="#" class="author">商品数目分析</a>
                                        </p>
                                    </div>
                                    <div class="slid-bottom-grid slid-bottom-right">
                                        <p class="views views-info">成功分析了${statisticsList[0]["requestCount"]}次</p>
                                    </div>
                                    <div class="clearfix"> </div>
                                </div>
                            </div>
                        </div>
                        <div class="clearfix"> </div>
                    </div>
                </li>
            </ul>
        </div>
        <div class="clearfix"> </div>
    </div>
</div>